package com.jcp.entity;

import java.io.Serializable;

import javax.persistence.Id;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;
 
/**
 * �쳣��Ϣ��ʵ����
 * @author �����
 *
 */
@NameStyle(Style.normal)
public class ExceptionMessage implements Serializable{

	@Id
	private Integer messageId;// ��Ϣ���
	private String occurrence_time;// ����ʱ��
	private String carNumber;// �����쳣��Ϣ�ĳ��ƺ�
	private String reason;// ����ԭ��
	private String adminName;// ����������
	private String result;// ������

	public Integer getMessageId() {
		return messageId;
	}

	public void setMessageId(Integer messageId) {
		this.messageId = messageId;
	}

	public String getOccurrence_time() {
		return occurrence_time;
	}

	public void setOccurrence_time(String occurrence_time) {
		this.occurrence_time = occurrence_time;
	}

	public String getCarNumber() {
		return carNumber;
	}

	public void setCarNumber(String carNumber) {
		this.carNumber = carNumber;
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	@Override
	public String toString() {
		return "ExceptionMessage [messageId=" + messageId + ", occurrence_time=" + occurrence_time + ", carNumber="
				+ carNumber + ", reason=" + reason + ", adminName=" + adminName + ", result=" + result + "]";
	}

	public ExceptionMessage(Integer messageId, String occurrence_time, String carNumber, String reason, String adminName,
			String result) {
		super();
		this.messageId = messageId;
		this.occurrence_time = occurrence_time;
		this.carNumber = carNumber;
		this.reason = reason;
		this.adminName = adminName;
		this.result = result;
	}

	public ExceptionMessage() {
		// TODO Auto-generated constructor stub
	}
}
